package com.example.bnuzzu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bnuzzu.common.dto.HouseListDto;
import com.example.bnuzzu.common.dto.RoommateListDto;
import com.example.bnuzzu.entity.Roommate;

import java.util.List;

public interface RoommateService extends IService<Roommate>{
    IPage<RoommateListDto> searchPage(Page<?> page,  RoommateListDto roommateListDto);
    List<RoommateListDto> getAllMate();
}
